package com.leo;

import javafx.beans.property.SimpleBooleanProperty;

/**
 * @ClassName Student
 * @Description
 * @Author wangss
 * @date 2020.06.09 11:46
 * @Version 1.0
 */
public class Student {

    private String name;

    private SimpleBooleanProperty choose = new SimpleBooleanProperty();

    public Student(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public boolean isChoose() {
        return choose.get();
    }

    public SimpleBooleanProperty chooseProperty() {
        return choose;
    }

    public void setChoose(boolean choose) {
        this.choose.set(choose);
    }
}
